#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
    int line = 0;

    while (scanf("%d", &line) == 1)
    {
        for (int i = 0; i < line; i++)
        {
            int arr[20] = { 0 };
            arr[i] = 1;
            arr[line - 1 - i] = 1;
            for (int j = 0; j < line; j++)
            {
                if (arr[j] == 1)
                    printf("*");
                else
                    printf(" ");
            }
            printf("\n");
        }
    }
    return 0;
}